//
//  TCUCFBag.m
//  TreeMenuTest
//
//  Created by Etienne on 11/07/07.
//  Copyright (c) 2007 Etienne Samson. All rights reserved.
//

#import "TCUCFBag.h"

@implementation TCUCFBag

- (id)retain
{
    return (TCUCFBag*)CFRetain(self);
}

- (oneway void)release
{
    CFRelease(self);
}

- (unsigned int)retainCount
{
    return CFGetRetainCount(self);
}

- (unsigned int)hash
{
    return CFHash(self);
}

- (BOOL) isEqual: (TCUBag*) otherBag {
    return CFEqual ((CFBagRef)self, (CFBagRef)otherBag);
}

- (NSString*) description
{
    return (NSString*)CFCopyDescription((CFBagRef)self);
}

@end

@implementation TCUCFBag__

@end
